package com.kingdee.eas.custom.aoyuan.aytime.bizbill;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.dao.IObjectPK;
import java.math.BigDecimal;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.bos.util.*;
import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.framework.*;
import com.kingdee.eas.framework.IDataBase;

public interface IPersonOTBalance extends IDataBase
{
    public PersonOTBalanceInfo getPersonOTBalanceInfo(IObjectPK pk) throws BOSException, EASBizException;
    public PersonOTBalanceInfo getPersonOTBalanceInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public PersonOTBalanceInfo getPersonOTBalanceInfo(String oql) throws BOSException, EASBizException;
    public PersonOTBalanceCollection getPersonOTBalanceCollection() throws BOSException;
    public PersonOTBalanceCollection getPersonOTBalanceCollection(EntityViewInfo view) throws BOSException;
    public PersonOTBalanceCollection getPersonOTBalanceCollection(String oql) throws BOSException;
    public void changeBalance(String personid, int changetype, BigDecimal normalot, BigDecimal weekenot, BigDecimal holidayot) throws BOSException, EASBizException;
    public boolean usebalance(String personid, int usetype, BigDecimal num) throws BOSException, EASBizException;
}